﻿// code03030200.cpp : 向量vector
// push_back 方法

#include <iostream>
#include <vector>
using namespace std;

int main()
{
    vector<int> v;
    for (int i = 0; i != 10; ++i)
    {
        v.push_back(i);
        cout << v[i] << " ";
    }
    return 0;
}


